<?php

//passwordField, textField, 

echo Virgo::renderWidget('FormView', array(
    'data' => $model,
    'head' => array(
        'icon' => 'icos-pencil3',
        'title' => $title,
    ),
    'fields' => array(
        'lng' => array(
            //'title' => 'Заголовок',
            'type' => 'textField',
            'htmlOptions' => array(
                'placeholder' => 'Долгота',
            ),
        ),
        'lat' => array(
            //'title' => 'Заголовок',
            'type' => 'textField',
            'htmlOptions' => array(
                'placeholder' => 'Широта',
            ),
        ),
        'zoom' => array(
            'type' => 'textField',
            'htmlOptions' => array(
                'placeholder' => 'Маштаб',
            ),
        ),
        'show_per_page' => array(
            'type' => 'dropDownList',
            'htmlOptions' => array('multiple'=>'multiple', 'id'=>'ms'),
            'data' => CHtml::listData(Page::model()->findAll(), 'id', 'name'),
        ),
        
    )
));
?>
